-- GENERATED SPELL FOR [Dragonflayer Hunting Hound] --


function spell0_23994(pUnit, Event) --@Powerful Bite,n/a--
pUnit:FullCastSpellOnTarget(48287,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23994', 5260, 1)
end

function Sorts_23994(pUnit, Event)
local choix_sorts_23994 = math.random(0, 0)
if choix_sorts_23994 == 0 then
pUnit:RegisterEvent('spell0_23994', 1, 1)
end
end

function mob23994_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23994', math.random(1500, 3000), 1)
end

function mob23994_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23994_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23994_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23994, 1, 'mob23994_Action')
RegisterUnitEvent(23994, 2, 'mob23994_Leave')
RegisterUnitEvent(23994, 3, 'mob23994_Kill')
RegisterUnitEvent(23994, 4, 'mob23994_Die')
